package com.future;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;

import java.util.Map;

@SpringBootApplication
@MapperScan({"com.future.mapper"})
public class FutureBootApplication {

    public static void main(String[] args) {
//        SpringApplication.run(FutureBootApplication.class, args);
        ConfigurableApplicationContext run = SpringApplication.run(FutureBootApplication.class,args);
        ConfigurableEnvironment environment = run.getEnvironment();
        Map<String,Object> systemEnvironment = environment.getSystemEnvironment();
        Map<String,Object> systemProperties = environment.getSystemProperties();
    }

}